package com.yxw.yx_hotel.dto;

import com.yxw.yxnet_cd_center.common.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author liuxin
 * @date 2023.0913
 */
@EqualsAndHashCode(callSuper = false)
@Data
@ToString(callSuper=true)
@ApiModel(value="QueryRoomPropertyDto", description="资产查询Dto")
public class QueryRoomPropertyDto extends BaseDTO {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "宿舍ID不能为空")
    @ApiModelProperty(value = "宿舍ID")
    private Long roomId;

}
